package com.zxx.coolweather._wuguan2;

import android.app.ProgressDialog;
import android.content.Context;
import android.view.Window;

/**
 * @author zxx on 2022/1/12
 */
public class WaitDialog extends ProgressDialog {

    public WaitDialog(Context context) {
        super(context);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setCanceledOnTouchOutside(false);
        setProgressStyle(STYLE_SPINNER);
        setMessage("正在请求，请稍后...");
    }
}
